package com.junmeng.jdemo.recycler.chat.viewstub;

import com.example.common.recycler.common.RecyclerViewHolder;
import com.junmeng.jdemo.R;
import com.junmeng.jdemo.recycler.chat.IKind;

public class CommonBindViewSystem extends BaseChatBindView<CommonBindViewSystem.Item> {

    @Override
    public int getItemLayoutResId(Item item) {
        return R.layout.item_chat_system;
    }

    @Override
    public int getItemContentLayoutResId(Item item) {
        return R.layout.item_chat_system;
    }

    @Override
    public void bindViewDataWithFull(RecyclerViewHolder holder, int position, Item item) {
        holder.setText(R.id.text, item.text);
    }

    public static class Item {
        public Item(String text) {
            this.text = text;
        }

        public String text;

    }

}
